package cn.platform.mapper;

import cn.platform.entity.relationship.Tea_Class;
import cn.platform.request.Tea_ClassRequest;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface Tea_ClassMapper {
    // 查询
    List<Tea_Class> listTea_Class(Tea_ClassRequest req);

    // 新增
    void insertTea_Class(Tea_ClassRequest req);

    // 更新，用id找，其余参数为更新内容，null值不更新
    void updateTea_Class(Tea_ClassRequest req);

    // 删除，用id找
    void deleteTea_Class(Tea_ClassRequest req);
}
